=====================================================
  Graffiti v1.1
=====================================================
 : MSW
  : http://0-web.ru/
=====================================================
     
-----------------------------------------------------
 : ReadMe.txt
=====================================================

1.    

2.   777  :
   /graffiti/temp
   /uploads/graffiti
   /uploads/graffiti/thumbs

3. : /templates/_/addcomments.tpl
    :
--------------------------------------------
<script type="text/javascript">
<!--
function openChild(file,window) {
	childWindow=open(file,window,'resizable=no,width=610,height=480');
	if (childWindow.opener == null) childWindow.opener = self;
}
//-->
</script>
--------------------------------------------

  ,      :
--------------------------------------------
<input type="button" value="" onClick="openChild('/graffiti/index.html','MF-Graffiti-Win')">
--------------------------------------------

4. : /engine/classes/parse.class.php
 :
--------------------------------------------
$source = preg_replace( "#\[spoiler=(.+?)\]#ie", "\$this->build_spoiler('\\1')", $source );
--------------------------------------------

 :
--------------------------------------------
//   //start
$source = preg_replace( "#\[graf=(.+?)\]#is", "<!--g_img:\\1--><a onclick=\"return hs.expand(this)\" href=\"/uploads/graffiti/\\1.jpg\"><img title=\"\" alt=\"\" src=\"/uploads/graffiti/thumbs/\\1.jpg\"></a><!--/g_img-->", $source );
//   //stop
--------------------------------------------

:
--------------------------------------------
if( $wysiwig != "yes" ) {
--------------------------------------------

 :
--------------------------------------------
//   //start
$txt = preg_replace( "#<!--g_img:(.+?)-->(.+?)<!--/g_img-->#is", "[graf=\\1]", $txt );
//   //stop
--------------------------------------------